Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to yarn berry #2008

Merged
merged 30 commits into from
Aug 26, 2024
Merged

Upgrade to yarn berry #2008

merged 30 commits into from
Aug 26, 2024

Conversation

pablomendezroyo
Copy link
Contributor

@pablomendezroyo pablomendezroyo commented Aug 6, 2024

Upgrade to yarn berry, check the official migration guide https://yarnpkg.com/migration/guide

This migration was a huge change in the src code, in order to fix the issues after the migration there has been implemented a lot of changes that on first sight were not related

Some of the more important changes are:

  • Force using node 20 or higher
  • Stop from using lerna
  • Add tsconfig to each test folder from each module
  • Install missing dependencies

@pablomendezroyo pablomendezroyo requested a review from a team as a code owner August 6, 2024 12:37
@github-actions github-actions bot temporarily deployed to commit August 7, 2024 08:58 Inactive
Copy link

github-actions bot commented Aug 7, 2024

Copy link

github-actions bot commented Aug 7, 2024

Dappnode bot has built and pinned the built packages to an IPFS node, for commit: 7560e85

This is a development version and should only be installed for testing purposes.

  1. Package dappmanager.dnp.dappnode.eth

Install link

Hash: /ipfs/QmcPLDRU7BLCxFfLHvbpE92GZiEB8BjQkfvCcrRCK84yAP

(by dappnodebot/build-action)

@github-actions github-actions bot temporarily deployed to commit August 12, 2024 18:42 Inactive
@github-actions github-actions bot temporarily deployed to commit August 12, 2024 18:45 Inactive
@github-actions github-actions bot temporarily deployed to commit August 12, 2024 18:52 Inactive
@github-actions github-actions bot temporarily deployed to commit August 12, 2024 19:56 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 14:00 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 14:10 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 14:12 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 15:07 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 15:19 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 15:54 Inactive
@github-actions github-actions bot temporarily deployed to commit August 13, 2024 15:58 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 07:20 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 10:30 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 11:02 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 12:56 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 13:45 Inactive
@github-actions github-actions bot temporarily deployed to commit August 14, 2024 13:48 Inactive
@pablomendezroyo pablomendezroyo merged commit 528dc10 into develop Aug 26, 2024
8 checks passed
@pablomendezroyo pablomendezroyo deleted the pablo/migrate-to-yarn-berru branch August 26, 2024 06:39
mateumiralles pushed a commit that referenced this pull request Sep 2, 2024
* Upgrade to yarn berry

* use strict typescript rules

* use yarn moderl workspaces references

* bump to node 22 in workflows and docker

* use yarn berry and enable corepack in workflows

* relocate enable corepack

* fix docker node version

* Fix dockerfile builds

* fix workspace naming

* add tsconfig test

* remove broken dependency

* add missing type

* fix test types

* use assert with

* remove import assertions

* update yarn generate script

* use tsx instead of ts-node in mocha configs

* remove ts-node from tsconfig's

* remove ts-node dep from root

* bump timeout

* add rewiremock to dockerapi

* migrate from docker-compose to docker compose

* fix rewiuremock imports

* remove unused var

* remove unused vars

* use assert type json

* use node LTS 20

* fix dev mode

* install deps in dev mode

* add missing yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant